<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表内所有内容</title>
</head>
<style>
    table
    {
        border-collapse:collapse;
    }
table,th, td
    {
        border: 1px solid black;
    }
</style>
<body>
<table border ="1">

    <tr>
      <th>id</th>
      <th>username</th>
      <th>password</th>
        <th>email</th>
    </tr>
    {% for user in users %}
    <tr>
      <td>{{ user.id }}</td>
      <td>{{user.username}}</td>
      <td>{{user.password}}</td>
      <td>{{ user.email }}</td>
    </tr>
    {% endfor %}
</table>
    <br>
    <br>
    <form action="http://127.0.0.1:5000">
        <input class="btn" type="submit" value="返回">
    </form>
</body>
</html>